html {
  width: 100%;
  /* margin: 50px; */
  /* padding: 50px; */
  box-sizing: border-box;
  background-color: #f5f5f5;
}

#view {
  width: 100%;
  height: 500px;
}

body {
  margin: auto;
  width: 800px;
  background-color: #f5f5ff;
  position: relative;
}

#functionView {
  display: flex;
  position: fixed;
  right: 20px;
  top: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  z-index: 99;
  opacity: 0.9;
}

.tap {
  width: 60px;
  height: 60px;
  font-size: 15px;
  color: #404040;
  background-color: #d4d4d4;
  margin: 5px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

/* .layui-layer-content::-webkit-scrollbar {
  width: 0px;
  height: 0px
} */

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-flex-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.color {
  width: 35px;
  margin-right: 20px;
  height: 35px;
  background-color: #eeeeee;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.fontFamily {
  width: 66px;
  height: 40px;
  background-color: #eeeeee !important;
  margin-right: 20px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

.fontSize {
  width: 66px;
  height: 40px;
  background-color: #eeeeee;
  cursor: pointer;
  border-width: 0px;
  user-select: none;
}

.setFontSize {
  font-size: 17px;
}

.layui-form-radioed div {
  border: 7px;
  border-color: #b5b5b5;
  border-style: double;
}

.flag {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

#bookInfo {
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}

#bookImg {
  padding: 0 15px;
}

#bookImg_ {
  height: 130px;
}

#bookInfoText {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#bookTitle {
  font-size: 18px;
  color: #7d7d7d;
  margin-bottom: 12px;
}

#bookCreator {
  font-size: 15px;
  color: #ababab;
}

#ID-tree-shuqian .layui-tree-txt {
  font-size: 20px;
}

#ID-tree-shuqian .layui-tree-set {
  margin-bottom: 12px;
}

#setting {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 15%;
  width: 100%;
  position: fixed;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 77;
  opacity: 0;
  background-color: #7a7a7a;
  font-size: 23px;
  color: white;
}

#controlView {
  top: 0;
  left: 0;
  z-index: 88;
  position: fixed;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  background-color: #707070;
  color: white;
  visibility: hidden;
}

#previous,
#openSetting,
#next {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  width: 100%;
}

#previous {
  height: 40%;
}

#openSetting {
  height: 20%;
  background-color: #7a7a7a;
}

#next {
  height: 40%;
}

@media screen and (max-width:768px) {
  body {
    width: 100% !important;
  }

  #functionView {
    right: 0;
  }

  .tap {
    color: #404040;
    background-color: #9cd7ff !important;
  }

  .pointer-events-none {
    pointer-events: none;
  }
}